package com.spring.arch.common.setup;

import org.springframework.core.Ordered;

import java.lang.annotation.*;

/**
 * 定义初装的顺序
 * @author Frank
 * @version 1.0.0
 * @since JDK 1.8
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface SetupOrder {
    /**
     * The order value.
     * <p>Default is {@link Ordered#LOWEST_PRECEDENCE}.
     * @see Ordered#getOrder()
     */
    int value() default Ordered.LOWEST_PRECEDENCE;
}
